package com.abel.rabbitmq.controller;

import com.abel.rabbitmq.mq.Producer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

/**
 * Author: Abel.lin
 * Date: Created in 2018/5/31 15:49
 * Company: Abel.Studio
 * Copyright: Copyright (c) 2017
 * Description:
 */
@RestController
public class IndexController extends BaseController{
    @Autowired
    private Producer producer;

    @RequestMapping("")
    public String index(){
        return "hello word";
    }


}
